package cn.virens.database.serviceimpl.platform.common;

import java.io.Serializable;

import cn.hutool.core.util.StrUtil;

public class ColumnInfo implements Serializable {
	private static final long serialVersionUID = 7170876923653754212L;

	private String name;
	private String type;
	private String feild;
	private String isnull;
	private String comment;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
		this.feild = StrUtil.toCamelCase(name);
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getFeild() {
		return feild;
	}

	public void setFeild(String feild) {
		this.feild = feild;
	}

	public String getIsnull() {
		return isnull;
	}

	public void setIsnull(String isnull) {
		this.isnull = isnull;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}
}
